﻿using Common.Communal;
using MediatR;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Scheduling.Api.Write.Application.Command.TeamCommand
{
    public class TeamAddCommand:IRequest<ApiResult<int>>
    {
        public string TeamName { get; set; }

        /// <summary>
        /// 关联班组类型ID（外键，关联“班组类型表”，需结合实际关联关系配置）
        /// </summary>
        public int TeamTypeId { get; set; }

        /// <summary>
        /// 班组组长
        /// </summary>
        public string TeamLeader { get; set; }

        /// <summary>
        /// 班组状态（可定义为枚举，如 0-禁用、1-启用等，需结合业务）
        /// </summary>
        public int TeamStatus { get; set; }
    }
}
